A Simple Balanced Search Tree with O(1) Worst-Case Update Time
نویسنده
چکیده
In this paper we show how a slight modification of (a, 2b)-trees allows us to perform member and neighbor queries in O(logn) time and updates in O(1) worst-case time (once the position of the inserted or deleted key is known). Our data structure is quite natural and much simpler than previous worst-case optimal solutions. It is based on two techniques : 1) bucketing, i.e., storing an ordered list of 2 log n keys in each leaf of an (a, 2b) tree, and 2) preventive splitting, i.e., splitting nodes before they can grow bigger than allowed. If only insertions are allowed, it can also be used as a finger search tree with O(log∗ n) worst-case update time.
منابع مشابه
A Simple Balanced Search Tree With O Worst Case Update Time
In this paper we show how a slight modi cation of a b trees allows us to perform member and neighbor queries in O log n time and updates in O worst case time once the position of the inserted or deleted key is known Our data structure is quite natural and much simpler than previous worst case optimal solutions It is based on two techniques bucketing i e storing an ordered list of log n keys in ...
متن کاملA Simple Balanced Search Tree with O(1) Worst-case Update Time 1
In this paper we show how a slight modiication of (a; b)-trees allows us to perform member and neighbor queries in O(log n) time and updates in O(1) worst-case time (once the position of the inserted or deleted key is known). Our data structure is quite natural and much simpler than previous worst-case optimal solutions. It is based on two techniques : 1) bucketing, i.e. storing an ordered list...
متن کامل2-D Monotone spatial indexing scheme with optimal update time
For monotone generated points on the plane we present the Dynamic Monotone Priority Search Tree (DMoPST) in main / external memory with O(1) update time / O(1) block transfers in worst-case. The external version of the structure above promises efficient applications in transaction time Databases systems. Key-Words: -Databases, Data structures
متن کاملOn k-Dimensional Balanced Binary Trees
An amortized analysis of the insertion and deletion algorithms of k-dimensional balanced binary trees (kBB-trees) is performed. It is shown that the total rebalancing time for a mixed sequence of m insertions and deletions in a kBB-tree of size n is O(k(m+n)). Based on 2BB-trees, a self-organizing tree, called a self-organizing balanced binary tree, is defined. It is shown that the average acce...
متن کاملDynamic DFS in Undirected Graphs: breaking the O(m) barrier
Given an undirected graph G = (V, E) on n vertices and m edges, we address the problem of maintaining a DFS tree when the graph is undergoing updates (insertion and deletion of vertices or edges). We present the following results for this problem. 1. Fault tolerant DFS tree: There exists a data structure of size˜O(m) 1 such that given any set F of failed vertices or edges, a DFS tree of the gra...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1993